package com.sixth.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sixth.entity.AclPermission;
import com.sixth.entity.Permission;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PermissionDao extends BaseMapper<Permission> {

    List<Permission> selectByUserid(String userid);

    List<Permission> selectMenuByUserid(String userid);

}
